package com.bm.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bm.common.dto.AllySearchDto;
import com.bm.common.dto.RomeSearchDto;
import com.bm.server.entity.RoomHead;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/18/23:58
 */
public interface RoomSearchDao extends BaseMapper<RoomHead> {
    @Select("SELECT roomname,roomcard,roompath FROM t_room_head where roomname=#{name} ;")
    List<RoomHead> roomSelectAllBy(@Param("name") String name);
}
